﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.IO;
using System.Net;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System.Text.RegularExpressions;
using System.Reflection;
using System.Web;

namespace WindowsFormsApp2
{
    public partial class Form1 : Form
    {       

    
         public Form1()
        {
            InitializeComponent(); 

            

        }

        

      

        private void Form1_Load(object sender, EventArgs e)
        {
            Encoding encoding = Encoding.UTF8;
            ////DataTable dt= JsonToDT(val);
            //List<string> names = new List<string>();
            //for (int i = 0; i < staffs.Count; i++)
            //{

            //    names.Add(staffs[i].Property("TEXTNAME").Value.ToString());
            //}

         
        }

        //执行
        private void toolStripButton1_Click(object sender, EventArgs e)
        {
          
        }

        private void rchTextSql_TextChanged(object sender, EventArgs e)
        {
         
        }

        private void 新建SQL操作ToolStripMenuItem_Click(object sender, EventArgs e)
        {            
            TabPage temptb = new TabPage();
            temptb.Text = "SQL操作"+ (this.kDelTabControl1.TabPages.Count+1).ToString()+"   ";            
            ucSqlOperater uctemp = new ucSqlOperater();
            uctemp.Name = "sql"+(this.kDelTabControl1.TabPages.Count + 1).ToString();
            uctemp.Dock = DockStyle.Fill;
            temptb.Controls.Add(uctemp);
            this.kDelTabControl1.TabPages.Add(temptb);
        }
    }
}
